<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../jstl/taglibs.jsp"%>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta name="keywords" content="OVVI OTA Manager">
<meta name="description" content="OVVI OTA Manager">
<title>WQL后台管理系统</title>
<%@ include file="../jstl/common_static_resources.jsp"%>
<link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.login.css" />
<script type="text/javascript" src="static/web/js/user/login.js"></script>
</head>
<body>
	<div class="header"></div>
	<div class="loginWraper">
		<div id="loginform" class="loginBox">
			<form id="form" class="form form-horizontal" action="login" method="post">
				<div class="row cl">
					<label class="form-label col-xs-3"><i class="Hui-iconfont">&#xe60d;</i></label>
					<div class="formControls col-xs-8">
						<input id="username" name="username" value="${user.username }" type="text" placeholder="账户" class="input-text size-L" ota-error="${error.username }" />
					</div>
				</div>
				<div class="row cl">
					<label class="form-label col-xs-3"><i class="Hui-iconfont">&#xe60e;</i></label>
					<div class="formControls col-xs-8">
						<input id="password" name="password" value="${user.password }" type="password" placeholder="密码" class="input-text size-L" ota-error="${error.password }" />
					</div>
				</div>
				<div class="row cl">
					<div class="formControls col-xs-8 col-xs-offset-3">
						<input id="kaptcha" name="kaptcha" maxlength="4" class="input-text size-L" type="text" placeholder="验证码" style="width: 150px;" ota-error="${error.kaptcha }" /> <img id="kaptchaImg" src="kaptcha.jpg?t=1321321" /> <a href="javascript:var kaptEl=document.getElementById('kaptchaImg');kaptEl.src=kaptEl.src.replace(/[0-9]+$/,new Date().getTime());void(0);">看不清，换一张</a>
					</div>
				</div>
				<div class="row cl">
					<div class="formControls col-xs-8 col-xs-offset-3">
						<c:choose>
							<c:when test="${empty user.remember }">
								<input id="remember" name="remember" type="checkbox" value="1" />
							</c:when>
							<c:otherwise>
								<input id="remember" name="remember" type="checkbox" value="1" checked />
							</c:otherwise>
						</c:choose>
						<label for="remember">使我保持登录状态7天</label>
					</div>
				</div>
				<div class="row cl">
					<div class="formControls col-xs-8 col-xs-offset-3">
						<input type="submit" class="btn btn-success radius size-L" value="&nbsp;登&nbsp;&nbsp;&nbsp;&nbsp;录&nbsp;"> <input name="" type="reset" class="btn btn-default radius size-L" value="&nbsp;取&nbsp;&nbsp;&nbsp;&nbsp;消&nbsp;">
					</div>
				</div>
			</form>
		</div>
	</div>
	<div class="footer">Copyright OVVI by H-ui.admin.v2.3</div>
</body>
</html>